package 建造者模式;

/**
 * builder 大黄狗
 *
 * @author ithuameng
 */
public class BigYellowDog {

    private Integer age;

    private String name;

    private String sex;

    private Integer height;

    private Integer weight;

    public BigYellowDog() {
    }

    public BigYellowDog(Integer age) {
        this.age = age;
    }

    public BigYellowDog(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public BigYellowDog(Integer age, String name, String sex) {
        this.age = age;
        this.name = name;
        this.sex = sex;
    }

    public BigYellowDog(Integer age, String name, String sex, Integer height) {
        this.age = age;
        this.name = name;
        this.sex = sex;
        this.height = height;
    }

    public BigYellowDog(Integer age, String name, String sex, Integer height, Integer weight) {
        this.age = age;
        this.name = name;
        this.sex = sex;
        this.height = height;
        this.weight = weight;
    }

    public void print() {
        System.out.println(this.age + " " + this.name + " " + this.sex + " " + this.height + " " + this.weight);
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
